<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:90:"E:\PHP_APP\htdocs\shop\CampusReservations\public/../application/home\view\index\index.html";i:1503968848;s:92:"E:\PHP_APP\htdocs\shop\CampusReservations\public/../application/home\view\Public\header.html";i:1499667974;s:89:"E:\PHP_APP\htdocs\shop\CampusReservations\public/../application/home\view\Public\nav.html";i:1503974740;s:92:"E:\PHP_APP\htdocs\shop\CampusReservations\public/../application/home\view\Public\footer.html";i:1499567500;}*/ ?>
<!DOCTYPE HTML>
<html>
<head>
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />

<script type="applijewelleryion/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href="__PUBLIC__/static/home/css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="__PUBLIC__/static/home/css/bootstrapmoban458.css" rel='stylesheet' type='text/css' />

<link href="__PUBLIC__/static/home/css/style.css" rel='stylesheet' type='text/css' />	
<link href="__PUBLIC__/static/home/css/styleMoban458.css" rel='stylesheet' type='text/css' />

<link rel="stylesheet" type="text/css" href="__PUBLIC__/static/home/css/styles.css">

<!-- 图片浮动 -->
<link rel="stylesheet" href="__PUBLIC__/static/home/css/s.css">

<script type="text/javascript" src="__PUBLIC__/static/home/js/koala.min.1.5.js"></script>
<script type="text/javascript">
Qfast.add('widgets', { path: "__PUBLIC__/static/home/js/terminator2.2.min.js", type: "js", requires: ['fx'] });  
Qfast(false, 'widgets', function () {
	K.tabs({
		id: 'decoroll2',//焦点图包裹id  
		conId: "decoimg_a2",//大图域包裹id  
		tabId:"deconum2",//小圆点数字提示id
		tabTn:"a",
		conCn: '.decoimg_b2',//大图域配置class       
		auto: 1,//自动播放 1或0
		effect: 'fade',//效果配置
		eType: 'mouseover',// 鼠标事件
		pageBt:true,//是否有按钮切换页码
		bns: ['.prev', '.next'],//前后按钮配置class                          
		interval: 3000// 停顿时间  
	}) 
}) 
</script>


<script src="__PUBLIC__/static/home/js/jquery-1.11.1.min.js"></script>
<script src="__PUBLIC__/static/home/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/static/home/js/modernizr.custom.js"></script>
<script src="__PUBLIC__/static/home/js/responsiveslides.min.js"></script>
<!-- animation-effect -->
<link href="__PUBLIC__/static/home/css/animate.min.css" rel="stylesheet"> 
<script src="__PUBLIC__/static/home/js/wow.min.js"></script>
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<script>
 new WOW().init();
</script>
<!-- //animation-effect -->
<style type="text/css">
	@font-face{
  font-family: 'miaomi';

  src:url( 'fonts/miaomi.ttf') format('truetype');
}

.login li a {
    
    display: block;
    height: 22px; 
    -webkit-transition: .5s all;
    transition: .5s all;
    -moz-transition: .5s all;
    padding: 0;
}

.miaomi{
	font-family: 'miaomi';
}
body{
	font-family: 'miaomi';
	font-weight: bold;
}
ul.real-widget li a {
    font-size: 15px;
    color: #000;
}

.login li{
	float: left;
	list-style: none;
	margin-top: 10px;
	margin-left: 10px;
}

.login li a:hover{
	-webkit-transform:rotateY(360deg);
	transform:rotateY(360deg);
	-moz-transform:rotateY(360deg);
	-o-transform:rotateY(360deg);
	-ms-transform:rotateY(360deg);
}

#link-effect-7 a{
    font-family: 'miaomi';
    font-size: 18px;
}

h2,h4{
	font-family: 'miaomi';
}

.key a {
    font-size: 1em;
    color: #fff;
    font-weight: 600;
    padding: 0.6em 2em;
    background: #fa4b2a;
}
.key a:hover{
	background:#fff;
	color: #fa4b2a;
	border: 1px solid #fa4b2a;

}
.key{
	float: right;
	margin-top: -25px;

}


</style>


<link rel="stylesheet" href="__PUBLIC__/static/login/css/common.css"/>

<script type="text/javascript" src="__PUBLIC__/static/login/js/jquery.min.js"></script>
<script type="text/javascript">
var w,h,className;
function getSrceenWH(){
	w = $(window).width();
	h = $(window).height();
	$('#dialogBg').width(w).height(h);
}

window.onresize = function(){  
	getSrceenWH();
}  
$(window).resize();  

$(function(){
	getSrceenWH();
	
	//ÏÔÊ¾µ¯¿ò
	$('.box a').click(function(){
		className = $(this).attr('class');
		$('#dialogBg').fadeIn(300);
		$('#dialog').removeAttr('class').addClass('animated '+className+'').fadeIn();
	});
	
	//¹Ø±Õµ¯´°
	$('.claseDialogBtn').click(function(){
		$('#dialogBg').fadeOut(300,function(){
			$('#dialog').addClass('bounceOutUp').fadeOut();
		});
	});
});


var w1,h1,className1;
function getSrceenWH1(){
	w = $(window).width();
	h = $(window).height();
	$('#dialogBg1').width(w1).height(h1);
}

window.onresize = function(){
	getSrceenWH1();
}
$(window).resize();

$(function(){
	getSrceenWH1();

	//ÏÔÊ¾µ¯¿ò
	$('.box1 a').click(function(){
		className = $(this).attr('class');
		$('#dialogBg1').fadeIn(300);
		$('#dialog1').removeAttr('class').addClass('animated '+className+'').fadeIn();
	});

	//¹Ø±Õµ¯´°
	$('.claseDialogBtn1').click(function(){
		$('#dialogBg1').fadeOut(300,function(){
			$('#dialog1').addClass('bounceOutUp').fadeOut();
		});
	});
});


var w2,h2,className2;
function getSrceenWH2(){
	w = $(window).width();
	h = $(window).height();
	$('#dialogBg2').width(w2).height(h2);
}

window.onresize = function(){
	getSrceenWH2();
}
$(window).resize();

$(function(){
	getSrceenWH2();

	//ÏÔÊ¾µ¯¿ò
	$('.box2 a').click(function(){
		className = $(this).attr('class');
		$('#dialogBg2').fadeIn(300);
		$('#dialog2').removeAttr('class').addClass('animated '+className+'').fadeIn();
	});

	//¹Ø±Õµ¯´°
	$('.claseDialogBtn2').click(function(){
		$('#dialogBg2').fadeOut(300,function(){
			$('#dialog2').addClass('bounceOutUp').fadeOut();
		});
	});
});

var w3,h3,className3;
function getSrceenWH3(){
	w = $(window).width();
	h = $(window).height();
	$('#dialogBg3').width(w3).height(h3);
}

window.onresize = function(){
	getSrceenWH3();
}
$(window).resize();

$(function(){
	getSrceenWH3();

	//ÏÔÊ¾µ¯¿ò
	$('.box3 a').click(function(){
		className = $(this).attr('class');
		$('#dialogBg3').fadeIn(300);
		$('#dialog3').removeAttr('class').addClass('animated '+className+'').fadeIn();
	});

	//¹Ø±Õµ¯´°
	$('.claseDialogBtn3').click(function(){
		$('#dialogBg3').fadeOut(300,function(){
			$('#dialog3').addClass('bounceOutUp').fadeOut();
		});
	});
});

var w4,h4,className4;
function getSrceenWH4(){
	w = $(window).width();
	h = $(window).height();
	$('#dialogBg4').width(w4).height(h4);
}

window.onresize = function(){
	getSrceenWH4();
}
$(window).resize();

$(function(){
	getSrceenWH4();

	//ÏÔÊ¾µ¯¿ò
	$('.box4 a').click(function(){
		className = $(this).attr('class');
		$('#dialogBg4').fadeIn(300);
		$('#dialog4').removeAttr('class').addClass('animated '+className+'').fadeIn();
	});

	//¹Ø±Õµ¯´°
	$('.claseDialogBtn4').click(function(){
		$('#dialogBg4').fadeOut(300,function(){
			$('#dialog4').addClass('bounceOutUp').fadeOut();
		});
	});
});
</script>

</script>






</head>

<body>

<!-- <script>

    function login(){
        var mobilenum = $('input[name="mobilenum"]').val();
       var userpass = $('input[name="userpass"]').val();
       var captcha = $('input[name="captcha"]').val();
       var url =  $('input[name="log"]').val();
       $.ajax({
           type : "POST",
            url : url,
            data : {moblienum:$mobilenum,userpass:$userpass,captcha:captcha},
            dataType : 'json',
            success : function(res) {
                if(res.status == 1){
                    alert(res.info);
                    window.location.href = res.url;
                }else{
                    alert(res.info);
                }
            }

        })
	}
</script> -->
<div class="header" id="ban">
		<div class="container">
		  <div>
	       <img src="__PUBLIC__/static/home/images/logo.png">
          </div>
			<div class="head-left wow fadeInLeft animated animated" data-wow-delay=".5s" style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInLeft; margin-top: -70px;margin-left: 700px;">
				<div class="header-search">
						<div class="search">
							<input class="search_box" type="checkbox" id="search_box">
							<label class="icon-search" for="search_box"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></label>
							<div class="search_form">
								<form action="<?php echo url('Index/searchlists'); ?>" method="post">
									<input type="text" name="Search" placeholder="吃点啥...." style="background: #d8d5d5;border: 1px solid #d8d5d5;">
									<span><input type="checkbox" name="flag" value="1"><input type="checkbox" name="flag" value="0"></span>
									<input type="submit" value="搜索" style="background: #f74a2a;border: 1px solid #f74a2a;"></a>
								</form>
							</div>
						</div>
				</div>
			</div>
			<div class="header_right wow fadeInLeft animated animated" data-wow-delay=".5s" style="visibility: visible; animation-delay: 0.5s; animation-name: fadeInLeft;margin-top: -60px;margin-left: 850px;width: 1000px;">
			<nav class="navbar navbar-default">
				<!-- Brand and toggle get grouped for better mobile display -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
				</div>

				<!-- Collect the nav links, forms, and other content for toggling -->
				<div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
					<nav class="link-effect-7" id="link-effect-7">
						<ul class="nav navbar-nav">
							<li class="active act"><a href="<?php echo url('Index/index'); ?>">主页</a></li>
							<li><a href="<?php echo url('Shop/lists'); ?>">餐厅饭馆</a></li>
							<!-- <li><a href="<?php echo url('User/userinfo'); ?>">餐厅饭馆</a></li> -->
							<!-- <li><a href="<?php echo url('User/shoppingcart'); ?>">购物车</a></li> -->
						</ul>
					</nav>
				</div>
				<!-- /.navbar-collapse -->
			</nav>
			</div>

			<div id="social-icons" style="position:relative; float: right;margin-top: -60px;display:inline;" >

<!--<script type="text/javascript">-->
 <div id="wrapper" >
<div class="box" style="display: inline-block;">
<?php if(\think\Session::get('id') == null): ?>
<li><a href="#" class="rollIn" style="font-family: miaomi ;font-weight: bold;font-size: 15px">登录</a>
		</li>
		<?php else: ?>
		<li><a href="<?php echo url('User/userinfo'); ?>" class="rollIn" style="font-family: miaomi;font-weight: bold;font-size: 15px"><?php echo \think\Session::get('username'); ?></a>
		</li>
		  
<?php endif; ?>
	<div id="dialogBg"></div>
		<div id="dialog" class="animated">
			<div class="dialogTop">
				<a href="#" style="font-size: 20px; margin-right: 20px;font-family: miaomi;float: left;">Hi~咱们又见面了</a>
				<a href="javascript:;" class="claseDialogBtn" style="font-size: 15px; font-family: miaomi;">关闭</a>
			</div>
			<form action="<?php echo url('Login/login'); ?>" method="post" id="editForm">
				<ul class="editInfos" style="font-family: miaomi;">
					<li><input type="text" name="mobilenum"   value="" class="ipt" style="width: 200px;" placeholder="手机号码" required  /></li>
					<li><input type="password" name="userpass"  value="" class="ipt" style="width: 200px;" placeholder="密码" required  /></li>
					<li><input type="text" name="captcha"   class="ipt" style="width: 200px;" placeholder="验证码" required />
					<img src="<?php echo captcha_src(); ?>" alt="captcha" onclick="this.src='<?php echo captcha_src(); ?>'" style="height: 50px;margin-top: 20px;" /></li>
					<li><button type="submit" class="submitBtn" onclick="login()">登录</button></li>
					<li><checkbox type="submit" name="check" value="1"></checkbox></li>
					<input type="hidden" value="<?php echo url('Login/login'); ?>" name="log"  />
				</ul>
			</form>
		</div>    
	</div>
	<div class="box1" style="display: inline-block">
		<?php if(\think\Session::get('id') == null): ?>
		<li><a href="#" class="bounceIn" style="font-family: miaomi ;font-weight: bold;font-size: 15px;">注册</a></li>
		<?php else: ?>
		<div class="media-left response-text-left" style="width: 50px;">
                                    <a href="<?php echo url('User/userinfo'); ?>">
                     <img src="__PUBLIC__/static/home/uploads/userpic/<?php echo \think\Session::get('pic'); ?>" class="img-responsive"
                                             alt="" style="height: 40px;width: 40px;">
                                    </a>
                                   
                                </div>
		<?php endif; ?>
		<div id="dialogBg1"></div>
		<div id="dialog1" class="animated1">
			<div class="dialogTop">
			    <a href="#" style="font-size: 20px; margin-right: 20px;font-family: miaomi;float: left;">快来加入我们吧</a>
				<a href="javascript:;" class="claseDialogBtn1" style="font-size: 15px; font-family: miaomi;">关闭</a>
			</div>
			<form action="<?php echo url('User/adduser'); ?>" method="post" id="editForm1" enctype="multipart/form-data">
			  <ul class="editInfos" style="font-family: miaomi;">
				 <!-- <li><label><font color="#ff0000">* </font>手&nbsp机&nbsp号&nbsp
				 <input type="text" name="telephone" pattern="[0-9]{11}" required id="telephone" onblur="checkTele()"  class="ipt" />
				 <span id="tip" ></span></label></li>
					<li><label><font color="#ff0000">* </font>邮&nbsp&nbsp&nbsp&nbsp&nbsp箱&nbsp<input type="text" name="" required value="" class="ipt" /></label></li>
					<li><label><font color="#ff0000">* </font>用&nbsp户&nbsp名&nbsp<input type="text" name="" required value="" class="ipt" /></label></li>
					<li><label><font color="#ff0000">* </font>密&nbsp&nbsp&nbsp&nbsp&nbsp码&nbsp<input type="text" name="" required value="" class="ipt" /></label></li>
					<li><label><font color="#ff0000">* </font>确认密码<input type="text" name="" required value="" class="ipt" /></label></li> -->
					<li><input type="text" name="username" value="" class="ipt" style="width: 200px;" placeholder="用户名" required  /></li>
					<li><input type="password" name="userpass" value="" class="ipt" style="width: 200px;" placeholder="密码" required  /></li>
					<li><input type="password" name="userpass1" value="" class="ipt" style="width: 200px;" placeholder="确认密码" required  /></li>
					<li><input type="text" name="mobilenum" value="" class="ipt" style="width: 200px;" placeholder="手机号" required  /></li>
				    <li><input type="text" name="address" value="" class="ipt" style="width: 200px;" placeholder="送餐地址" required  /></li>
					<li><input type="text" name="email" value="" class="ipt" style="width: 200px;" placeholder="邮箱" required  /></li>
					<li style="margin-left: 40px" class="file">
                    <input type="file" name="pic" class="ipt" style="width: 200px;" title="头像"  /></li>
				  <li><input type="text" name="comment" value="" class="ipt" style="width: 200px;" placeholder="备注"  /></li>
					<li><input type="text" name="captcha"  class="ipt" style="width: 200px;" placeholder="验证码" required />
					<img src="<?php echo captcha_src(); ?>" alt="captcha" onclick="this.src='<?php echo captcha_src(); ?>'" style="height: 50px;margin-top: 20px;" /></li>
                  <li><button type="submit" class="submitBtn">注册</button></li>
				</ul>
			</form>
		</div>
	</div>


	



</div> 
<div class="clearfix"> </div>	

						
					
						
					</ul>
				</div>
			
			<div class="clearfix"> </div>	
		</div>
	</div>


<!-- 轮播图片start -->
<div id="decoroll2" class="imgfocus" >

	<div id="decoimg_a2" class="imgbox" style="margin-left: -70px;width: 1140px;" >
		<?php if(is_array($slideshowres) || $slideshowres instanceof \think\Collection): $i = 0; $__LIST__ = $slideshowres;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
		<div class="decoimg_b2">
			<a href="<?php echo url('Shop/detail',array('shop_id'=>$vo['shop_id'])); ?>">
				<img src="__PUBLIC__/static/admin/Uploads/slideshow/<?php echo $vo['picture']; ?>" style="height: 400px; width: 1140px;"></a></div>
		<?php endforeach; endif; else: echo "" ;endif; ?>
	</div>

	<div>
		<ul id="deconum2" class="num_a2" >
			<?php if(is_array($slideshowres) || $slideshowres instanceof \think\Collection): $i = 0; $__LIST__ = $slideshowres;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
			<li><a href="javascript:void(0)" hidefocus="true" target="_self"><?php echo $vo['shopname']; ?></a></li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
		</ul>
	</div>

</div>
<!-- 轮播图片end -->


<!-- 新进餐厅、新进菜品、特价菜品三个Tab区start -->

<div class="services w3l wow fadeInDown"  data-wow-duration=".8s" data-wow-delay=".2s">
		<div class="container">
			<div class="grid_3 grid_5">
				<volist class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs">
					<ul id="myTab" class="nav nav-tabs" role="tablist">
						<li role="presentation" class="active"><a href="#expeditions" id="expeditions-tab" role="tab" data-toggle="tab" aria-controls="expeditions" aria-expanded="true">新店大酬宾</a></li>
						<li role="presentation" class=""><a href="#safari" role="tab" id="safari-tab" data-toggle="tab" aria-controls="safari">必点新品</a></li>
						<li role="presentation" class=""><a href="#trekking" role="tab" id="trekking-tab" data-toggle="tab" aria-controls="trekking">限时特价</a></li>
					</ul>
					<volist id="myTabContent" class="tab-content">

					<!-- 新进餐厅显示区start -->
						
						<div role="tabpanel" class="tab-pane fade active in" id="expeditions" aria-labelledby="expeditions-tab" style="margin-left: -10px;">
						<?php if(is_array($newsshops) || $newsshops instanceof \think\Collection): $i = 0; $__LIST__ = $newsshops;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
							<div class="col-md-4 col-sm-5 tab-image">
								
								<!-- <a href="<?php echo url('Shop/detail'); ?>"><img src="__PUBLIC__/static/admin/Uploads/shoppic/a.png" class="img-responsive" alt="Wanderer" style="width: 350px;height: 200px;"></a> -->
								<div class="gallery-item">
		                          <div class="gallery-item-image">
									  <?php if($vo['pic'] != ''): ?>
			                        <a href="<?php echo url('Shop/detail',array('shop_id'=>$vo['shop_id'])); ?>"><img src="__PUBLIC__/static/index/Uploads/shoppic/<?php echo $vo['pic']; ?>" style="width: 450px;height: 200px;"></a>
									  <?php endif; ?>
			                      </div>
		                          <div class="gallery-item-description">
									  <h3><?php echo $vo['shopname']; ?></h3>
			                        <span><?php echo $vo['intro']; ?></span>
			                      </div>
		                        </div>
								
							</div>

                           <?php endforeach; endif; else: echo "" ;endif; ?>
							<div style="margin-left: 1150px;width: 60px;height: 60px;position: absolute;margin-top: 70px;">
								<a href="<?php echo url('Shop/newshoplists'); ?>"><img src="__PUBLIC__/static/home/images/more.png" class="img-responsive" alt="Wanderer" style="width: 50px;height: 50px; "></a>
							</div>
							<div class="clearfix"></div>
						</div>

					<!-- 新进餐厅显示区end -->
						
					<!-- 新进菜品显示区start -->

						<div role="tabpanel" class="tab-pane fade" id="safari" aria-labelledby="safari-tab" style="margin-left: -10px;">
							<?php if(is_array($newsfoods) || $newsfoods instanceof \think\Collection): $i = 0; $__LIST__ = $newsfoods;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
							<div class="col-md-4 col-sm-5 tab-image">
								<div class="gallery-item">
		                          <div class="gallery-item-image">
			                        <a href="<?php echo url('Shop/detail',array('shop_id'=>$vo['shop_id'])); ?>)}"><img src="__PUBLIC__/static/admin/Uploads/foodpic/<?php echo $vo['pic']; ?>" style="width: 450px;height: 200px;"></a>
			                      </div>
		                          <div class="gallery-item-description">
			                        <h3><?php echo $vo['foodname']; ?></h3>
			                        <span><?php echo $vo['intro']; ?></span>
			                      </div>
		                        </div>
							</div>
							<?php endforeach; endif; else: echo "" ;endif; ?>
							<div style="margin-left: 1150px;width: 60px;height: 60px;position: absolute;margin-top: 70px;">
								<a href="<?php echo url('Food/newfoodlists'); ?>"><img src="__PUBLIC__/static/home/images/more.png" class="img-responsive" alt="Wanderer" style="width: 50px;height: 50px; "></a>
							</div>
							<div class="clearfix"></div>
						</div>

					<!-- 新进菜品显示区end -->

					<!-- 特价菜品显示区start -->
						<div role="tabpanel" class="tab-pane fade" id="trekking" aria-labelledby="trekking-tab" style="margin-left: -10px;">
							<?php if(is_array($specialoffer) || $specialoffer instanceof \think\Collection): $i = 0; $__LIST__ = $specialoffer;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
							<div class="col-md-4 col-sm-5 tab-image">
								<div class="gallery-item">
		                          <div class="gallery-item-image">
			                        <a href="<?php echo url('Shop/detail',array('shop_id'=>$vo['shop_id'])); ?>"><img src="__PUBLIC__/static/admin/Uploads/foodpic/<?php echo $vo['pic']; ?>" style="width: 450px;height: 200px;"></a>
			                      </div>
		                          <div class="gallery-item-description">
			                        <h3><?php echo $vo['foodname']; ?></h3>
			                        <span><?php echo $vo['price']; ?>¥</span>
			                        <span style="margin-left: 60px;">结束时间：<?php echo $vo['enddate']; ?></span>
								  </div>
								</div>
							</div>
							<?php endforeach; endif; else: echo "" ;endif; ?>
							<div style="margin-left: 1150px;width: 60px;height: 60px;position: absolute;margin-top: 70px;">
								<a href="<?php echo url('Food/bargainpricelists'); ?>"><img src="__PUBLIC__/static/home/images/more.png" class="img-responsive" alt="Wanderer" style="width: 50px;height: 50px; "></a>
							</div>
							<div class="clearfix"></div>
						</div>

				    <!-- 特价菜品显示区end -->
					</volist>
				</volist>
					</div>
				</div>
			</div>
		</div>
	</div>

<!-- 新进餐厅、新进菜品、特价菜品三个Tab区end -->



<div class="content_top">
   <div class="container">
   	  <h4 class="m_3" style="font-family:miaomi"><a href="<?php echo url('Shop/hotshoplists'); ?>">人气餐厅</a></h4>


   	<!-- 热门餐厅显示区start -->

   	  <div class="grid_1">
		  <?php if(is_array($hotshop) || $hotshop instanceof \think\Collection): $i = 0; $__LIST__ = $hotshop;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
		<div class="col-md-3 box_1">
			<a href="<?php echo url('Shop/detail',array('shop_id'=>$vo['shop_id'])); ?>"><img src="__PUBLIC__/static/index/Uploads/shoppic/<?php echo $vo['pic']; ?>" class="img-responsive" alt="" style="width: 240px;height: 150px;" /></a>
		    <div class="box_2">
			  <div class="special-wrap"><div class="hot_offer"><span class="m_11">Hot<br/>最热</span></div></div>
			</div>
		   <div class="box_3">
			 <h3><a href="<?php echo url('Shop/detail'); ?>"><?php echo $vo['shopname']; ?></a></h3>
			 <div class="boxed_mini_details clearfix">
			      <span class="area first"><strong>综合评分</strong><i class="fa fa-plane icon1"> </i><img src="__PUBLIC__/static/home/images/grade.png" style="width: 13px;margin-left: 1px;" >
			      <?php echo $vo['level']; ?></span>
			      <span class="status"><strong>配送费</strong><i class="fa fa-retweet icon1"> </i><img src="__PUBLIC__/static/home/images/fee.png" style="width: 13px;margin-left: 1px;" >
			      <?php echo $vo['fei']; ?>￥</span>
			      <span class="bedrooms last"><strong>浏览量</strong><i class="fa fa-bed"></i><img src="__PUBLIC__/static/home/images/eye.png" style="width: 13px;margin-left: 1px;" >
			      <?php echo $vo['obserave']; ?></span>

             </div>
		   </div>
		</div>
		  <?php endforeach; endif; else: echo "" ;endif; ?>
		<div class="clearfix"> </div>
	   </div>



    <!-- 热门餐厅显示区end -->

	<div class="content_bottom">

	  <!-- 左下侧侧边栏显示区start -->

		<div class="col-md-2">
			<div class="widget">
                <div class="title"><h3><i class="fa fa-meh-o men"> </i>必买清单</h3></div>
                  <ul class="real-widget"><li><a href="<?php echo url('Shop/detail'); ?>">鱼香茄子盖浇饭</a></li>
                	    <li><a href="<?php echo url('Shop/detail'); ?>">葱爆牛肉</a></li>
                	    <li><a href="<?php echo url('Shop/detail'); ?>">云南过桥米线</a></li>
                		<li><a href="<?php echo url('Shop/detail'); ?>">玉米鲜肉馄饨</a></li>
                		<li><a href="<?php echo url('Shop/detail'); ?>">麻辣小龙虾</a></li>
                		<li><a href="<?php echo url('Shop/detail'); ?>">楠哥麻辣拌</a></li>

                  </ul>
             </div>
             <div class="widget">
                <div class="title"><h3><i class="fa fa-meh-o men"> </i>猜你喜欢</h3></div>
                  <ul class="real-widget"><li><a href="<?php echo url('Shop/detail'); ?>">重庆小面</a></li>
                	<li><a href="<?php echo url('Shop/detail'); ?>">韩式辣白菜拌饭</a></li>
                	<li><a href="<?php echo url('Shop/detail'); ?>">金枪鱼寿司</a></li>
                	<li><a href="<?php echo url('Shop/detail'); ?>">明太鱼汤</a></li>
                	<li><a href="<?php echo url('Shop/detail'); ?>">延吉凉面</a></li>
                </ul>
             </div>
		</div>

	  <!-- 左下侧侧边栏显示区end -->


	  <!-- 热门菜品显示区start -->

		<div class="col-md-7">	
		   <div class="sap_tabs">
				<div id="horizontalTab" style="display: block; width: 100%;">
						 <div class="tab_grid">
							  <ul class="resp-tabs-list">
							  	  <li class="resp-tab-item" aria-controls="tab_item-0" role="tab"><span class="miaomi" style="font-size: 28px;"><a href="<?php echo url('Food/hotfoodlists'); ?>">热卖菜品</a></span></li>
								 
								  <div class="clearfix"></div>
							  </ul>	
							</div>
								
							    <div>
                                    
                                    <!-- 热门菜品第一行显示区start -->
                                    

							    	  <ul class="tab_img tab_1">
							    	  	<?php if(is_array($hotfood) || $hotfood instanceof \think\Collection): $i = 0; $__LIST__ = $hotfood;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
									   <li>
										<div class="client_box1">
					       				     <a href="<?php echo url('Shop/detail',array('shop_id'=>$vo['shop_id'])); ?>"><img src="__PUBLIC__/static/admin/Uploads/foodpic/<?php echo $vo['pic']; ?>" class="img-responsive" alt="" style="width: 200px;height: 100px;" /></a>  
					       				    <h3 class="m_1"><a href="<?php echo url('Shop/detail'); ?>"><?php echo $vo['foodname']; ?></a></h3>
					       				    <div class="boxed_mini_details clearfix">
			                                    <span class="area first"><strong>单价</strong><i class="fa fa-plane icon1"></i>
			                                    <img src="__PUBLIC__/static/home/images/price.png" style="width: 13px;margin-left: 2px;" >
			                                    <?php echo $vo['price']; ?>￥</span>
			                                    <span class="status"><strong>月销售</strong><i class="fa fa-retweet icon1"> </i>
			                                    <img src="__PUBLIC__/static/home/images/sale.png" style="width: 13px;margin-left: 8px;" >
			                                    2</span>
			                                    <span class="bedrooms last"><strong>浏览量</strong><i class="fa fa-building-o icon1"></i>
			                                    <img src="__PUBLIC__/static/home/images/eye.png" style="width: 13px;margin-left: 8px;" >
			                                    <?php echo $vo['obserave']; ?></span>
                                            </div>
					       				 </div>
										</li>
										<?php endforeach; endif; else: echo "" ;endif; ?>

									

										

										<div class="clearfix"></div>
										</ul>

										
										

									<!-- 热门菜品第一行显示区end -->

                                    <!-- 热门菜品第二行显示区start -->

									
									

									<!-- 热门菜品第二行显示区end -->

							     </div>
							       
				  </div>
             </div>
        </div>

<!-- 热门菜品显示区end -->


<!-- 右下侧边栏餐厅评分排行显示区start -->

    <div class="col-md-3">
			<div class="blog_list2">
				 <h3>每日好店</h3>
					 <ul class="blog-list3 list_1">
					 	<li class="blog-list3-img"><img src="__PUBLIC__/static/admin/Uploads/shoppic/b.jpg" class="img-responsive" alt=""/></li>
					 	<li class="blog-list3-desc">
					 	  <h4><a href="<?php echo url('Shop/detail'); ?>">米有理由</a></h4>
					 	    <ul class="admin_desc">
							    <li class="list_top"><i class="fa fa-phone-square ph"> </i>
								<p class="m_2">20-1257-2587</p></li>
								<div class="clearfix"> </div>
								<li class="list_top"><i class="fa fa-envelope ph"> </i>
								<p class="m_2"><a href="">mail(at)realist.com</a></p></li>
								<div class="clearfix"> </div>
					        </ul>
		                 </li>
					 	<div class="clearfix"> </div>
					 </ul>

					 <ul class="blog-list3 list_1">
					 	<li class="blog-list3-img"><img src="__PUBLIC__/static/admin/Uploads/shoppic/c.png" class="img-responsive" alt=""/></li>
					 	<li class="blog-list3-desc">
					 	  <h4><a href="<?php echo url('Shop/detail'); ?>">饭点儿</a></h4>
					 	    <ul class="admin_desc">
							    <li class="list_top"><i class="fa fa-phone-square ph"> </i>
								<p class="m_2">20-1257-2587</p></li>
								<div class="clearfix"> </div>
								<li class="list_top"><i class="fa fa-envelope ph"> </i>
								<p class="m_2"><a href="">mail(at)realist.com</a></p></li>
								<div class="clearfix"> </div>
					        </ul>
		                 </li>
					 	<div class="clearfix"> </div>
					 </ul>

					 <ul class="blog-list3">
					 	<li class="blog-list3-img"><img src="__PUBLIC__/static/admin/Uploads/shoppic/d.jpg" class="img-responsive" alt=""/></li>
					 	<li class="blog-list3-desc">
					 	  <h4><a href="<?php echo url('Shop/detail'); ?>">星米年糕火锅</a></h4>
					 	    <ul class="admin_desc">
							    <li class="list_top"><i class="fa fa-phone-square ph"> </i>
								<p class="m_2">20-1257-2587</p></li>
								<div class="clearfix"> </div>
								<li class="list_top"><i class="fa fa-envelope ph"> </i>
								<p class="m_2"><a href="">mail(at)realist.com</a></p></li>
								<div class="clearfix"> </div>
					        </ul>
		                 </li>
					 	<div class="clearfix"> </div>
					 </ul>

			</div>
	</div>

	<!-- 右下侧边栏餐厅评分排行显示区end -->

      <div class="clearfix"> </div>
    </div>
   </div>
</div>	

<div class="copyright">
				<div class="container">
					<p>Copyright &copy; 2016.Company name All rights reserved.</p>
				</div>
</div>

</body>
</html>